import React, { useEffect, useRef } from 'react'
import './index.less'
import option from "./option.js";
import Snow from "../components/Snow/snow.js";

export default function SnowChart() {
    const chartContainer = useRef(null)
    useEffect(() => {
        const snow = new Snow(chartContainer.current, option)
    }, [])
    return (
        <div className="user-container" ref={chartContainer}></div>
    )
}
